<?
include 'conn.php';
header('Access-Control-Allow-Origin:*');


//
$title = trim($_POST['title']);
$title = iconv('utf-8','gbk',$title);
$cmd= "select id,title,title_en,orderby,datetime,imagefile,videourl,isindex from ".TABLE_C."content  where title like '%$title%'";

//echo $cmd;

$rs = mysql_query($cmd);
$total = mysql_num_rows($rs);
?>
{
	"total" : <? echo $total ?>,
	"data":[
	]

}